﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="ChangePassword.aspx.cs" 
Inherits="ChangePassword" Title="Change Password" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    
</asp:Content>


<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div id="toolbar_box">
                    <div class="t">
                        <div class="t">
                            <div class="t"></div>
                        </div>
                    </div>
                    
                    <div class="m">
                        <div id="toolbar" class="toolbar">
                            <table class="toolbar">
                                <tr>
                                    <td id="toolbar_delete" class="button">
                                        <%--<a href="#" class="toolbar">
                                            <span class="icon-32-delete"></span>
                                        Xóa</a>--%>                                        
                                    </td>
                                    <%--<td id="toolbar_update" class="button"><a href="#" class="toolbar"><span class="icon-32-edit"></span>Sửa</a></td>--%>
                                    <td id="toolbar_add" class="button"><a href="DesignManager.aspx" class="toolbar"><span class="icon-32-cancel"></span>Bỏ qua</a></td>
                                    <td id="toolbar_help" class="button"><a href="#" class="toolbar"><span class="icon-32-help"></span>Trợ giúp</a></td>
                                </tr>
                            </table>
                        </div>
                        <div class="header addupdate">
                            Thay đổi mật khẩu
                        </div>
                        <div class="clr"></div>
                    </div>
                    
                    <div class="b">
                        <div class="b">
                            <div class="b"></div>
                        </div>
                    </div>
    </div><!--End toolbar_box--------------------------------------------------->
    
    
    <div id="element-box">
                    <div class="t">
                        <div class="t">
                            <div class="t"></div>
                        </div>
                    </div>
                    
                    <div class="m">  
                        <div style="color:Red; font-weight:bold;">
                            <asp:Literal runat="server" ID="ltSuccess"></asp:Literal>
                        </div>                      
                        
                        <div class="divAddUpProduct" style="width:1000px">
                            <fieldset class="adminlist">
                                <legend>Chi tiết</legend>
                                <table class="admintable" width="100%">
                                    <tbody>                                        
                                        <tr>
                                            <td class="key">Mật khẩu cũ :</td>
                                            <td>
                                                <asp:TextBox runat="server" ID="txtPasswordOld" Width="300px" TextMode="Password"></asp:TextBox>
                                                <asp:RequiredFieldValidator runat="server" ID="vlPasswordOld" ControlToValidate="txtPasswordOld"
                                                Text="*"></asp:RequiredFieldValidator>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="key">Mật khẩu mới :</td>
                                            <td>
                                                <asp:TextBox runat="server" ID="txtPasswordNew" Width="300px" TextMode="Password"></asp:TextBox>
                                                <asp:RequiredFieldValidator runat="server" ID="vlPasswordNew" ControlToValidate="txtPasswordNew"
                                                Text="*"></asp:RequiredFieldValidator>
                                            </td>
                                        </tr>                                                                                                                                                                                                        
                                        <tr>
                                            <td class="key">Xác nhận :</td>
                                            <td>
                                                <asp:TextBox runat="server" ID="txtConfirm" Width="300px" TextMode="Password"></asp:TextBox>
                                                <asp:RequiredFieldValidator runat="server" ID="vlConfirm" ControlToValidate="txtConfirm"
                                                Text="*" Display="Dynamic"></asp:RequiredFieldValidator>
                                                <asp:CompareValidator ID="cvConfirm" runat="server" Text="*" Display="Dynamic" ControlToValidate="txtConfirm" 
                                                ControlToCompare="txtPasswordNew"></asp:CompareValidator>
                                            </td>
                                        </tr>
                                        <tr> 
                                            <td></td>                                           
                                            <td>
                                                <asp:Button runat="server" ID="btSave" Text="Thay đổi" CausesValidation="true" 
                                                    onclick="btSave_Click"/>
                                            </td>
                                        </tr>                                                                                                                                                                                            
                                    </tbody>
                                </table>
                            </fieldset>
                        </div><!--End divAddUpProduct--------------------------------------------------->
                    </div>
                    
                    <div class="b">
                        <div class="b">
                            <div class="b"></div>
                        </div>
                    </div>
    </div><!--End element-box--------------------------------------------------->
    
</asp:Content>

